package com.ggbz.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 学生自评表，存储学生的自评信息，包括所有大类的总分
 * </p>
 *
 * @author ggbz
 * @since 2025-03-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("self_evaluations")
@ApiModel(value="SelfEvaluations对象", description="学生自评表，存储学生的自评信息，包括所有大类的总分")
public class SelfEvaluations implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "自评ID，主键")
    @TableId(value = "evaluation_id", type = IdType.AUTO)
    private Integer evaluationId;

    @ApiModelProperty(value = "学生ID，关联学生表")
    private Integer studentId;

    @ApiModelProperty(value = "学生自评的总分")
    private Float totalScore;

    @ApiModelProperty(value = "自评是否已被辅导员审核")
    private Boolean isApproved;


}
